# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CustomPage(object):

    def __init__(self, id=None, created_on=None, modified_on=None, url=None, state=None, required_tokens=None, preview_target=None, description=None):
        """
        :param id: (Optional) 自定义页面类型的名称
        :param created_on: (Optional) 创建自定义页面时间
        :param modified_on: (Optional) 上次修改自定义页面的时间
        :param url: (Optional) 与自定义页面关联的URL。
        :param state: (Optional) 自定义页面状态
        :param required_tokens: (Optional) 自定义HTML页面中必须存在的字符串标记
        :param preview_target: (Optional) 预览自定义页面时，需要将“target”作为查询字符串的一部分
        :param description: (Optional) 自定义页面的简短描述。
        """

        self.id = id
        self.created_on = created_on
        self.modified_on = modified_on
        self.url = url
        self.state = state
        self.required_tokens = required_tokens
        self.preview_target = preview_target
        self.description = description
